dsh-plugin-safety: Plugin Health Alerts and Automatic Repair

The DSH plugin `dsh-plugin-safety` is designed to address failure management issues in the plugin ecosystem, providing the final two links in fault prevention and control: pre-startup checks and runtime automatic repair. With zero third-party dependencies, its core features include automatically disabling the plugin and persisting alerts to disk when prechecks fail, persistently displaying alerts in the browser, and automatically creating a headless repair session on the Host side to attempt recovery when alerts are detected. The system uses file locks to prevent concurrent duplicate startup, with alert data stored in `notice.json`. After installation, `dsh-web` must be restarted. The precheck script can also be integrated into systemd's `ExecStartPre` to perform blocking or non-blocking checks before startup, enabling automated health maintenance for the plugin.

Read More